/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.jini;
/**
* New unicast search dialog.
*
* @author Martin Ryzl
* @version
*/
public class RegistrarPanel extends javax.swing.JPanel {
/** Initializes the Form */
public RegistrarPanel() {
initComponents ();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the FormEditor.
*/
private void initComponents () {//GEN-BEGIN:initComponents
jTextField2 = new javax.swing.JTextField ();
jLabel1 = new javax.swing.JLabel ();
jTextField3 = new javax.swing.JTextField ();
jLabel2 = new javax.swing.JLabel ();
setLayout (new java.awt.GridBagLayout ());
java.awt.GridBagConstraints gridBagConstraints1;
setPreferredSize (new java.awt.Dimension(200, 80));
gridBagConstraints1 = new java.awt.GridBagConstraints ();
gridBagConstraints1.gridx = 0;
gridBagConstraints1.gridy = 1;
gridBagConstraints1.gridwidth = 2;
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints1.insets = new java.awt.Insets (0, 10, 10, 0);
gridBagConstraints1.weightx = 1.0;
add (jTextField2, gridBagConstraints1);
jLabel1.setText ("Host");
gridBagConstraints1 = new java.awt.GridBagConstraints ();
gridBagConstraints1.gridx = 0;
gridBagConstraints1.gridy = 0;
gridBagConstraints1.gridwidth = 2;
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints1.insets = new java.awt.Insets (10, 10, 0, 0);
add (jLabel1, gridBagConstraints1);
jTextField3.setText ("4160");
gridBagConstraints1 = new java.awt.GridBagConstraints ();
gridBagConstraints1.gridx = 2;
gridBagConstraints1.gridy = 1;
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints1.insets = new java.awt.Insets (0, 10, 10, 10);
add (jTextField3, gridBagConstraints1);
jLabel2.setText ("Port");
gridBagConstraints1 = new java.awt.GridBagConstraints ();
gridBagConstraints1.gridx = 2;
gridBagConstraints1.gridy = 0;
gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
gridBagConstraints1.insets = new java.awt.Insets (10, 10, 0, 10);
add (jLabel2, gridBagConstraints1);
}//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTextField jTextField2;
private javax.swing.JLabel jLabel1;
private javax.swing.JTextField jTextField3;
private javax.swing.JLabel jLabel2;
// End of variables declaration//GEN-END:variables
public String getPort() {
return jTextField3.getText();
}
public String getHost() {
return jTextField2.getText();
}
}
/*
* <<Log>>
* 5 Gandalf 1.4 2/3/00 Petr Kuzel Be smart and documented
* 4 Gandalf 1.3 2/2/00 Petr Kuzel Jini module upon 1.1alpha
* 3 Gandalf 1.2 10/23/99 Ian Formanek NO SEMANTIC CHANGE - Sun
* Microsystems Copyright in File Comment
* 2 Gandalf 1.1 7/30/99 Martin Ryzl group selection dialog
* 1 Gandalf 1.0 6/4/99 Martin Ryzl
* $
*/